/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.lucava.boatskeeper.client.event;

import com.google.gwt.event.shared.GwtEvent;

/**
 *
 * @author glenn
 */
public class AuthEvent extends GwtEvent<AuthHandler> {

    public static GwtEvent.Type<AuthHandler> TYPE = new GwtEvent.Type<AuthHandler>();

    public AuthEvent() {
    }

    @Override
    public Type<AuthHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(AuthHandler handler) {
        handler.onUserAuth(this);
    }
}
